package name.jautzy.esi.client.model;

import java.io.Serializable;

import javax.persistence.Id;

import com.googlecode.objectify.annotation.Cached;
import com.googlecode.objectify.annotation.Entity;
import com.googlecode.objectify.annotation.Unindexed;

@Cached
@Entity
public class EsiUser implements Serializable {
	@Id private String id;
	
	@Unindexed private String nick;
	@Unindexed private String corpo;
	@Unindexed private String alliance;
	
	public EsiUser() {
		setId("default@default");
	}
	
	public void setId(String id) {
		this.id = id;
	}
	public String getId() {
		return id;
	}
	public void setNick(String nick) {
		this.nick = nick;
	}
	public String getNick() {
		return nick;
	}
	public void setCorpo(String corpo) {
		this.corpo = corpo;
	}
	public String getCorpo() {
		return corpo;
	}
	public void setAlliance(String alliance) {
		this.alliance = alliance;
	}
	public String getAlliance() {
		return alliance;
	}
}
